#define _CRT_SECURE_NO_WARNINGS 1
#include"List.h"

void TestList1()
{
	LTNode* plist = LTInit();
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);

	LTPrint(plist);

	LTNode* pos = LTFind(plist, 1);
	if(pos)
	{
		LTInsert(pos, 5);
		pos = NULL;
	}
	
	LTPrint(plist);
}
int main()
{
	TestList1();
	return 0;
}